// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults
var b=0;
function restart(id)
{	
	if (b == 0) {
		document.getElementById(id).value = "";
		b = 1;
	}
	else 
	{
		document.getElementById(id).focus();
		document.getElementById(id).select();		
	}
		
}
			
